<script type="text/javascript">
    $(document).ready(function(){
        $('#pagination_select').change(function(){
            window.location = $(this).val();
        })
    });
</script>
<div class="position_relative float_right" style="margin-left: 7px;">
    <select class="sparkbox-custom" id="pagination_select">
        <?php foreach ($this->pagesInRange as $page): ?>
            <?php $selected = ($page == $this->current) ? ' selected="selected"' : ''; ?>
            <option value="<?php echo $this->url(array('page' => $page));?>"<?php echo $selected ?>>
                <?php echo $page; ?>
            </option>
        <?php endforeach; ?>
    </select>
</div>
<span style="padding-top: 8px;"  class="float_right" >
    <?php echo $this->translate('Afisari de la <strong>%1$d</strong> la <strong>%2$d</strong> din <strong>%3$d</strong>. Pagina:', $this->firstItemNumber, $this->lastItemNumber, $this->totalItemCount); ?>
</span>